<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>注册 - HiLover</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="login-container">
        <h2>注册</h2>
        <form id="registerForm">
            <div class="form-group">
                <input type="text" name="username" placeholder="用户名" required>
            </div>
            <div class="form-group">
                <input type="password" name="password" placeholder="密码" required>
            </div>
            <div class="form-group">
                <input type="password" name="confirmPassword" placeholder="确认密码" required>
            </div>
            <div class="form-group captcha-group">
                <input type="text" name="captcha" placeholder="验证码" required>
                <img src="/captcha" alt="验证码" onclick="this.src='/captcha?t='+new Date().getTime()">
            </div>
            <div class="form-group">
                <button type="submit">注册</button>
            </div>
            <div class="form-links">
                <a href="/login">已有账号？立即登录</a>
            </div>
        </form>
    </div>
    <script src="/static/js/register.js"></script>
</body>
</html> 